﻿/// -----------------------------------------------------------------------
/// (c) 2009 Microsoft Corporation -- All rights reserved
/// This code is licensed under the MS-PL
/// http://www.opensource.org/licenses/ms-pl.html
/// Courtesy of the Open Source Techology Center: http://port25.technet.com
/// -----------------------------------------------------------------------

namespace SynthFastCGI {
    internal class FastCGI {
        internal const byte FCGI_VERSION = 1;

        internal const byte FCGI_BEGIN_REQUEST       =1;
        internal const byte FCGI_ABORT_REQUEST       =2;
        internal const byte FCGI_END_REQUEST         =3;
        internal const byte FCGI_PARAMS              =4;
        internal const byte FCGI_STDIN               =5;
        internal const byte FCGI_STDOUT              =6;
        internal const byte FCGI_STDERR              =7;
        internal const byte FCGI_DATA                =8;
        internal const byte FCGI_GET_VALUES          =9;
        internal const byte FCGI_GET_VALUES_RESULT  =10;
        internal const byte FCGI_UNKNOWN_TYPE       =11;
        internal const byte FCGI_MAXTYPE = FCGI_UNKNOWN_TYPE;

        internal const byte FCGI_RESPONDER = 1;
        internal const byte FCGI_AUTHORIZER = 2;
        internal const byte FCGI_FILTER = 3;

        internal const byte FCGI_KEEP_CONN = 1;
    }
}
